home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / educate / wak02.zip / GSETUP.C < prev    next >
C/C++ Source or Header  |  1996-03-21  |  442b  |  19 lines

  1. /*****************VGA GRAPHICS SETUP***************/
  2.  
  3. #include <graphics.h>
  4.  
  5. void graphics_setup( int background_color )
  6. {
  7.    int grdriver = VGA,
  8.        grmode = VGAHI;
  9.  
  10.        registerfarbgidriver( EGAVGA_driver_far );
  11.        registerfarbgifont( sansserif_font_far );
  12.        registerfarbgifont( triplex_font_far );
  13.        initgraph( &grdriver, &grmode, "" );
  14.        setbkcolor( background_color );
  15.       
  16.        return;
  17. }
  18.  
  19.